#!/bin/bash
# If you are not using Login Items UI to register the launching of MoveResize.app at the time of
# login, uncomment the following line to register it
#sudo defaults write com.apple.loginwindow LoginHook ~/scripts/MoveResize/MoveResize.app
#sudo defaults write com.apple.loginwindow LogoutHook "osascript `echo ${HOME}`/scripts/MoveResize/QuitMoveResize.scpt"

# Copy the scripts to ~/Library/Scripts/ folder so that they appear in the Scripts menu
cp -f QuitMoveResize.scpt ~/Library/Scripts/
cp -f MoveResize.scpt ~/Library/Scripts/
